
from core.room import Room
from core.basehandler import BaseHandler

class VictoryRoom(Room):
    
    def __init__(self, room_id):
        Room.__init__(self, room_id)    # do basic initialization for every room
    
    # return description of room.
    def get_description(self):
        return '''
        Congratulations! You are back in the real world! The dull, repetitive, unexciting real world. Back to programming. *Sigh* I wonder what the RAM Ram is doing now...
         '''
    
    # return image of room
    def get_image(self):
        return 'RoomFromComp.jpg'

class VictoryRoomHandler(BaseHandler):
    
    # override default template to omit the inventory and actions
    def get_template(self):
        return 'victory.html'
    
    # return class to use to create a new instance of this room
    def get_room_class(self):
        return VictoryRoom

# define actions for this room